/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.garethc.composition.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.garethc.composition.service.FeedService;
import za.ac.cput.garethc.composition.service.internal.WaterFeedService;

/**
 *
 * @author Gareth
 */
@Configurable
public class AppConfig {
    @Bean (name="feed1")
    public FeedService feed()
    {
        return new WaterFeedService();
    }
}
